

namespace Stee.CAP8.DBAccess
{
    using System;
    using System.Threading.Tasks;
    using Microsoft.EntityFrameworkCore.Storage;

    public interface IUnitOfWork : IDisposable
    {
        int SaveChanges();
        Task<int> SaveChangesAsync();
        void BeginTransaction();
        void CommitTransaction();
        Task CommitTransactionAsync();
        void RollbackTransaction();
    }
}
